<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../../../views/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看审核</title>
<head>
    <meta charset="utf-8">
    <title>查看审核</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="/fdoctor-ms/statics/beginnerAdmin/plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/fdoctor-ms/statics/beginnerAdmin/plugins/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="/fdoctor-ms/statics/beginnerAdmin/css/btable.css" />
    <link rel="stylesheet" href="/fdoctor-ms/statics/beginnerAdmin/css/main.css" />
    <link rel="stylesheet" href="/fdoctor-ms/statics/css/style2.css" />
    
    
    <script type="text/javascript" src="/fdoctor-ms/statics/beginnerAdmin/plugins/layui/layui.js"></script>
    <script type="text/javascript" src="/fdoctor-ms/statics/js/jquery-2.1.4.min.js"></script>
    
     <% String webServerIp=PropertiesUtils.getValue("ftp_web_server_ip"); %>
</head>

<body >
	
	 	
	 	<%-- <c:forEach items="${infor.docList}" var="item">
			<div class="layui-inline"  style="margin-left: 30px;">
	 			<img alt="" src="<%=webServerIp%>${item.docImg}"  style="height: 120px;width: 150px;">
	 			 <div class="layui-inline">
		 				<span style="margin-left:20px;margin-botton:30px;">${item.docName}</span>
		 			</br>
			 			<span style="margin-left:20px;margin-botton:30px;">
			 				  <c:if test="${'1' eq item.docType}">医生</c:if>
			 				  <c:if test="${'2' eq item.docType}">公卫医生</c:if>
			 				  <c:if test="${'3' eq item.docType}">护士</c:if></span>
			 		</div>
	 		</div>
		</c:forEach> --%>
	  
	  <div class="admin-main">
			
			
			<div class=""></div>
			<form action="" method="" class="layui-form">
					<!--团队信息-->			
				 <div class="layui-form-item">
				    <div class="doc_label" >
				    	医生团队信息：
				    </div>
				    <c:forEach items="${infor.docList}" var="item">
					    <div class="layui-input-inline clearfix" style="width: 280px;">
					    	<div class="doc_pic"><img src="<%=webServerIp%>/${item.docImg}" onerror="javascript:this.src='/fdoctor-ms/statics/image/defaultImg.png'" alt="医生照片" /></div>
					    	<div class="doc_msg">
					    		<p>${item.docName}</p>
					    		<p><c:if test="${'1' eq item.docType}">医生</c:if>
			 				  	   <c:if test="${'2' eq item.docType}">公卫医生</c:if>
			 				       <c:if test="${'3' eq item.docType}">护士</c:if></p>
					    	</div>
					    </div>
				    </c:forEach>
				</div>
				<hr />
				
				<div class="layui-form-item">
					<div class="left_block">
						<div class="clearfix mb20" style="">
							<label class="layui-form-label">所在区划：</label>
						    <div class="layui-input-inline" style="width: 300px;">
						      <input type="text"  class="layui-input" style="" value="${infor.regionName}" readOnly="true">
						    </div>
						</div>
						<div class="clearfix">
							<label class="layui-form-label">所在机构：</label>
						    <div class="layui-input-inline" style="width: 300px;">
						      <input type="text"  class="layui-input" value="${infor.orgName}" readOnly="true">
						    </div>
						</div>
					</div>
					<div class="right_block" >
						<div class="team_label">团队介绍：</div>
						<div class="layui-input-block">
					      <textarea name="desc" placeholder="请输入内容" class="layui-textarea" readOnly="true">${infor.teamIntroduction}</textarea>
					    </div>
					</div>
				</div>
				<hr />
				
				<!--居民信息-->
				<div class="resident clearfix" >
					<div class="title">
						居民信息：
					</div>
					
					<div class="content clearfix">
						<div class="big_pic">
							<img src="<%=webServerIp%>/${infor.signImg}" onerror="javascript:this.src='/fdoctor-ms/statics/image/defaultImg.png'" alt="手持证件照"  style="height: 180px;width: 201px; margin-left: 120px;"/>
						</div>
						<div class="resident_msg">
							<div class="clearfix mb20">
								<label class="layui-form-label" style="width: 90px;">姓名：</label>
							    <div class="layui-input-inline" style="">
							      <input type="text"  class="layui-input" value="${infor.personName}" readOnly="true">
							    </div>
							</div>
							<div class="clearfix  mb20"">
								<label class="layui-form-label" style="width: 90px;">性别：</label>
							    <div class="layui-input-inline" style="" >
							      <input type="text"  class="layui-input" value="${infor.sex}" readOnly="true">
							    </div>
							</div>
							<div class="clearfix  mb20"">
								<label class="layui-form-label" style="width: 90px;">身份证号码：</label>
							    <div class="layui-input-inline" style="">
							      <input type="text"  class="layui-input" value="${infor.idCard}" readOnly="true">
							    </div>
							</div>
						</div>
					</div>
				</div>
				
				<hr />
				<!--解约信息-->
				
				<div class="cancel_contract">
					<div class="title">
						解约信息：
					</div>
					<div class="content">
						<div class="l">
							<table class="layui-table" >
								<thead>
									<th colspan="3" style="text-align: center;">已选服务包</th>
								</thead>
								<c:forEach items="${infor.servicePackList}" var="item">
								<tr>
									<td rowspan="">
										${item.packName}<span class="color_red">（${item.packType}） </span>
									</td>
									<td>${item.lastYear}年</td>
									<td><span class="color_red">${item.packPrice}￥/年</span></td>
								</tr>
								</c:forEach>
								<tr>
									<td colspan=""></td>
									<td colspan=""></td>
									<td colspan="">合计:${infor.priceAll}</td>
								</tr>
							</table>
						</div>
						<div class="r">
							<div class="clearfix  mb20"">
								<label class="layui-form-label" style="width: 90px;">居民电话：</label>
							    <div class="layui-input-inline" style="">
							      <input type="text"  class="layui-input" value="${infor.residentMobile}" readOnly="true">
							    </div>
							</div>
							<div class="clearfix  mb20"">
								<label class="layui-form-label" style="width: 90px;">队长电话：</label>
							    <div class="layui-input-inline" style="">
							      <input type="text"  class="layui-input" value="${infor.docMobime}" readOnly="true"> 
							    </div>
							</div>
							<div class="clearfix  mb20"">
								<label class="layui-form-label" style="width: 90px;">申请时间：</label>
							    <div class="layui-input-inline" style="">
							      <input type="text"  class="layui-input" value="${infor.requestTimeStr}" readOnly="true">
							    </div>
							</div>
							<div class="clearfix  mb20"">
								<label class="layui-form-label" style="width: 90px;">解约理由：</label>
							    <div class="layui-input-inline" style="">
							      <textarea name="desc" placeholder="请输入内容" class="layui-textarea" readOnly="true">${infor.reason}</textarea>
							    </div>
							</div>
						</div>
					</div>
				</div>
				
				<hr/>
				<!-- 审核信息 -->
				
				<div class="cancel_contract">
					<div class="title">
						审核信息：
					</div>
					<div class="content">
						<div class="l" style="width: 30%">
							<div class="clearfix  mb20"">
								<label class="layui-form-label" style="width: 90px;">审核意见：</label>
							    <div class="layui-input-inline" style="">
							    	<input type="text" id="auditStatus" class="layui-input" value="" readOnly="true">
							    </div>
							</div>
							<div class="clearfix  mb20"">
								<label class="layui-form-label" style="width: 90px;">审核时间：</label>
							    <div class="layui-input-inline" style="">
							    	<input type="text"  class="layui-input" value="${infor.auditTimeStr}" readOnly="true">
							    </div>
							</div>
						</div>
						<div class="r" style="width: 60%">
							<div class="clearfix  mb20"">
								<label class="layui-form-label" style="width: 90px;">审核备注：</label>
							    <div class="layui-input-inline" style="width: 360px;">
							      <textarea name="desc" id="auditRemark" placeholder="请输入审核备注" class="layui-textarea" readOnly="true">${infor.auditRemark}</textarea>
							    </div>
							</div>
						</div>
						
						 <div align="center">
	  						<button class="layui-btn layui-btn-big layui-btn-primary layui-btn-radius" type="button" id="saveButton"><i class="layui-icon">&#xe618;</i>关闭页面</button>
	  					 </div>
					</div>
				</div>
			</form>
			
			
		</div>
	
    
</body>


<script type="text/javascript">
layui.use(['jquery', 'form','laydate'], function() {
	$ = layui.jquery;
	form = layui.form();
	var laydate = layui.laydate;
	
	var auditStatus=${infor.status};
	if(auditStatus=='2'){
		$("#auditStatus").val("已拒绝解约");
	}else if(auditStatus=='3'){
		$("#auditStatus").val("已同意解约");
	}
	
    $('#saveButton').on('click',function(){
    	var index = parent.layer.getFrameIndex(window.name);
    	parent.layer.close(index);
						
    });
    
   
})
</script>
</html>